import { betterRequire } from './utils/common';
import { resolve } from 'path';

let apply = (action, ...args) => {
    betterRequire(resolve(__dirname, `./${action}`))(...args) // 执行action函数
};
export default apply;